package com.minimalist.common.entity.tc.entity.excel;

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;

import java.util.Date;

/**
 * @author 11987
 */
@Schema(name = "订单Excel数据")
public class TcOrderExcelData{
    /**
     * 订单号
     */
    private String orderNumber;

    /**
     * 泊位号
     */
    private String berthNumber;

    /**
     * 收费点
     */
    private String pointCharge;

    /**
     * 驶入时间
     */
    private Date enterDate;

    /**
     * 驶离时间
     */
    private Date exitDate;

    /**
     * 停留时长
     */
    private String stayDate;

    /**
     * 车牌号
     */
    private String plateNumber;

    /**
     * 图片链接
     */
    private String pictureUrl;

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getBerthNumber() {
        return berthNumber;
    }

    public void setBerthNumber(String berthNumber) {
        this.berthNumber = berthNumber;
    }

    public String getPointCharge() {
        return pointCharge;
    }

    public void setPointCharge(String pointCharge) {
        this.pointCharge = pointCharge;
    }

    public Date getEnterDate() {
        return enterDate;
    }

    public void setEnterDate(Date enterDate) {
        this.enterDate = enterDate;
    }

    public Date getExitDate() {
        return exitDate;
    }

    public void setExitDate(Date exitDate) {
        this.exitDate = exitDate;
    }

    public String getStayDate() {
        return stayDate;
    }

    public void setStayDate(String stayDate) {
        this.stayDate = stayDate;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TcOrderExcelData that = (TcOrderExcelData) o;
        return Objects.equals(orderNumber, that.orderNumber) &&
               Objects.equals(berthNumber, that.berthNumber) &&
               Objects.equals(pointCharge, that.pointCharge) &&
               Objects.equals(enterDate, that.enterDate) &&
               Objects.equals(exitDate, that.exitDate) &&
               Objects.equals(stayDate, that.stayDate) &&
               Objects.equals(plateNumber, that.plateNumber) &&
               Objects.equals(pictureUrl, that.pictureUrl);
    }

    @Override
    public int hashCode() {
        return Objects.hash(orderNumber, berthNumber, pointCharge, enterDate, exitDate, stayDate, plateNumber, pictureUrl);
    }

    @Override
    public String toString() {
        return "TcOrderExcelData{" +
               "orderNumber='" + orderNumber + '\'' +
               ", berthNumber='" + berthNumber + '\'' +
               ", pointCharge='" + pointCharge + '\'' +
               ", enterDate=" + enterDate +
               ", exitDate=" + exitDate +
               ", stayDate='" + stayDate + '\'' +
               ", plateNumber='" + plateNumber + '\'' +
               ", pictureUrl='" + pictureUrl + '\'' +
               '}';
    }
}
